projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f60a3b0
)
Fix ruby-mode auto-mode-alist entry
author
Dmitry Gutov
<dgutov@yandex.ru>
Sun, 15 Nov 2015 23:14:54 +0000
(
01:14
+0200)
committer
Dmitry Gutov
<dgutov@yandex.ru>
Sun, 15 Nov 2015 23:14:54 +0000
(
01:14
+0200)
* lisp/progmodes/ruby-mode.el (auto-mode-alist): Add grouping
around the extensions (bug#21257).
lisp/progmodes/ruby-mode.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/ruby-mode.el
b/lisp/progmodes/ruby-mode.el
index 754785168f2ac58f98c6e356f597db32a61dbf2c..ab83b9773202b33b49bce380c92dec715071b7d6 100644
(file)
--- a/
lisp/progmodes/ruby-mode.el
+++ b/
lisp/progmodes/ruby-mode.el
@@
-2258,9
+2258,10
@@
See `font-lock-syntax-table'.")
;;;###autoload
(add-to-list 'auto-mode-alist
- (cons (purecopy (concat "\\(?:\\."
+ (cons (purecopy (concat "\\(?:\\.
\\(?:
"
"rb\\|ru\\|rake\\|thor"
"\\|jbuilder\\|rabl\\|gemspec\\|podspec"
+ "\\)"
"\\|/"
"\\(?:Gem\\|Rake\\|Cap\\|Thor"
"\\|Puppet\\|Berks"